x86/HVM: type adjustments
authorJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 11:31:13 +0000 (12:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 11:31:13 +0000 (12:31 +0100)
commite4fd700e06c116f6198888a90552349b67aa64fa
tree70a4edccbd045e07077d50ab7baf966f82c762f4
parent81a28f14009f4d8577a81b28dd06f6828112054b
x86/HVM: type adjustments

- constify struct hvm_trap * function parameters
- width reduce and shuffle some struct hvm_trap members
- use bool_t for boolean fields struct hvm_function_table
- use unsigned for struct hvm_function_table's hap_capabilities field

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Boris Ostrovsky<boris.ostrovsky@oracle.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/nestedsvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/support.h
xen/include/asm-x86/hvm/svm/nestedsvm.h